package portal.monitor.dao;

public class MonitorPattern {
    private Integer patternId;

    private String patternName;

    private String patternSoftware;

    public MonitorPattern(String patternName, String patternSoftware) {
        this.patternName = patternName;
        this.patternSoftware = patternSoftware;
    }

    public MonitorPattern(Integer patternId, String patternName, String patternSoftware) {
        this.patternId = patternId;
        this.patternName = patternName;
        this.patternSoftware = patternSoftware;
    }

    public Integer getPatternId() {
        return patternId;
    }

    public void setPatternId(Integer patternId) {
        this.patternId = patternId;
    }

    public String getPatternName() {
        return patternName;
    }

    public void setPatternName(String patternName) {
        this.patternName = patternName == null ? null : patternName.trim();
    }

    public String getPatternSoftware() {
        return patternSoftware;
    }

    public void setPatternSoftware(String patternSoftware) {
        this.patternSoftware = patternSoftware == null ? null : patternSoftware.trim();
    }
}